package com.elitel.frame.web.serverreqstat.entity;

import lombok.Data;

/**
 * @author m
 */
@Data
public class ServerReqSimpleStat {
    private Integer serverCount;
    private Integer reqServerCount;
    private Integer totalReqCount;
    private Integer dayMaxReqCount;
    private String maxReqServerName;
    private Integer maxReqServerCount;

    public Integer getServerCount() {
        return serverCount == null ? 0 : serverCount;
    }

    public Integer getReqServerCount() {
        return reqServerCount == null ? 0 : reqServerCount;
    }

    public Integer getTotalReqCount() {
        return totalReqCount == null ? 0 : totalReqCount;
    }

    public Integer getDayMaxReqCount() {
        return dayMaxReqCount == null ? 0 : dayMaxReqCount;
    }

    public Integer getMaxReqServerCount() {
        return maxReqServerCount == null ? 0 : maxReqServerCount;
    }
}
